number sign
| Mark | # |
| See Also |
The symbol is known as the number sign, hash, (in North America) the pound sign, and has a variety of other names. The symbol has historically been used for a wide range of purposes including the designation of an ordinal number and as a ligatured abbreviation for pounds avoirdupois – having been derived from the now-rare .
Since 2007, widespread usage of the symbol to introduce metadata tags on social media platforms has led to such tags being known as 'hashtags', and from that, the symbol itself is sometimes incorrectly called a hashtag.
The symbol is distinguished from similar symbols by its combination of level horizontal strokes and right-tilting vertical strokes.
History

It is believed that the symbol traces its origins to the symbol , an abbreviation of the Roman term «libra pondo», which translates as "pound weight". The abbreviation lb was printed as the dedicated ligature , including a horizontal line across (which indicated abbreviation). Ultimately, the symbol was reduced for clarity as an overlay of two horizontal strokes across two slash-like strokes .
In printing, a sign similar to is used in as a correction symbol in margins to indicate a space is needed between two words, as noted in Joseph Moxon’s 1683 book Mechanik Exercises, in Philip Luckombe’s 1770 book on printing or the 1847 revision of Noah Webster’s Dictionary by Chauncey A. Goodrich.
A similar sign (like ) has also sometimes been used as a sign for the ducat coin, other times included with abbreviations starting with D, or as a substitute for the milréis sign. In some 16th century German accounting manuscripts, the numero sign () is written with an N with two extra lines ornamenting it..
The symbol, printed as , is described as the "number" character in an 1853 treatise on bookkeeping, and its double meaning (number, pound) is described in a bookkeeping text from 1880. German language references from 1873 or 1892 also shows the symbol for 'ducat' («Ducaten») or 'number' («Nummer»), printed as or , with number also represented with .
The instruction manual of the Blickensderfer model 5 typewriter () appears to refer to the symbol as the "number mark". Some early-20th-century U.S. sources refer to it as the "number sign". A shorthand textbook written in 1903 refers to this symbol as the "pound or number sign" and details its two distinct uses (before and after a number). A 1917 manual distinguishes between two uses of the sign: "number (written before a figure)" and "pounds (written after a figure)". The use of the phrase "pound sign" to refer to this symbol is found from 1932 in U.S. usage.
For mechanical devices, the symbol appeared on the keyboard of the Remington Standard typewriter (). It appeared in many of the early teleprinter codes and from there was copied to ASCII, which made it available on computers and thus caused many more uses to be found for the character. The symbol was introduced on the bottom right button of touch-tone keypads in 1968, but that button was not extensively used until the advent of large-scale voicemail (PBX systems, etc.) in the early 1980s.
One of the uses in computers was to label the following text as having a different interpretation (such as a command or a comment) from the rest of the text. It was adopted for use within internet relay chat (IRC) networks circa 1988 to label groups and topics. This usage inspired Chris Messina to propose a similar system to be used on Twitter to tag topics of interest on the microblogging network; this became known as a hashtag. Although used initially and most popularly on Twitter, hashtag use has extended to other social media sites.
Names
Number sign
Number sign is the name chosen by the Unicode Consortium. Most common in Canada and the northeastern United States. American telephone equipment companies which serve Canadian callers often have an option in their programming to denote Canadian English, which in turn instructs the system to say "number sign" to callers instead of "pound". This name is rarely used elsewhere in the world, where numbers are normally represented by the letters .
Pound sign or pound
In the United States and Canada, the key on a phone is commonly referred to as the pound sign, pound key, or simply pound. Dialing instructions to an extension such as , for example, can be read as "pound seven seven". This name is rarely used elsewhere, as the term pound sign is understood to mean the currency symbol £.
Hash
In the United Kingdom and Australia, it is frequently called a hash (probably from hatch, referring to cross-hatching). This is also called a or .
The term hash sign is found in South African writings from the late 1960s.
Programmers also use this term; for instance #! is "hash, bang" or "shebang".
Hashtag
Derived from the previous, the word hashtag is often used when reading social media messages aloud, indicating the start of a hashtag. For instance, the text #foo is often read out loud as "hashtag foo" (as opposed to "hash foo"). This leads to the common belief that the symbol itself is called hashtag. Twitter documentation referred to it as "the hashtag symbol".
Hex
The term hex is commonly used in Singapore and Malaysia, as spoken by many recorded telephone directory-assistance menus: "Please enter your phone number followed by the 'hex' key". The term hex is formally discouraged in Singapore in favour of hash. In Singapore, the symbol is also called "hex" in apartment addresses, where it precedes the floor number.
=== Octothorp, octothorpe, octathorp, octatherp ===
The word was invented by workers at the Bell Telephone Laboratories by 1968, who wanted to add an eleventh and a twelfth key to the telephone keypad and needed named symbols to identify them. While there is typically agreement that octo- or octa- is here the common prefix meaning eight, various stories abound about the nature of the thorp. Don MacPherson is said to have created the word by combining octo and the last name of Jim Thorpe, an Olympic medalist. Lauren Asplund declared that he and Howard Eby invented the word in 1964:
Doug Kerr has written two essays about his recollections on the subject. In the first, in 2006, he wrote:
Later, in 2014, after conferring with Asplund, Kerr concluded that the name had likely been invented by Asplund after all:
The Merriam-Webster New Book of Word Histories (1991), has a long article (largely consistent with Doug Kerr's later essay) which says "octotherp" was the original spelling, and that the word arose in the 1960s among telephone engineers as a joke. It concludes, after dismissing various other parochial theories:
Other hypotheses for the origin of the word include the last name of James Oglethorpe.
The first appearance of octothorp in a US patent is in a 1973 filing. This patent also refers to the complementary telephone star key as "the sextile or asterisk (*) key".
Sharp
Use of the name sharp is due to the symbol's resemblance to . The same derivation is seen in the name of the Microsoft programming languages C#, J# and F#. Microsoft says that the name C# is pronounced 'see sharp'". According to the ECMA-334 C# Language Specification, the name of the language is written "C#" (" (U+0043) followed by the # (U+0023)") and pronounced "C Sharp".
Square
On telephones, the International Telecommunication Union specification ITU-T E.161 3.2.2 states: "The symbol may be referred to as the square or the most commonly used equivalent term in other languages." Formally, this is not a number sign but rather another character, . The real or virtual keypads on almost all modern telephones use the simple # instead, as does most documentation.
Usage
When prefixes a number, it is read as 'number'. "A #2 pencil", for example, indicates "a number-two pencil". This usage is historically rarer in print than the abbreviation , although '#' has recently overtaken 'No.' in total popularity worldwide, stemming from its newfound relatively overwhelming popularity in American English (but not British English). In addition to 'No.' and '#', the symbol or just the word 'number' are also used. When used in this manner, # is often superscript, like: "a #2 pencil" — but typically not extending above the cap line.
When is after a number, it is read as 'pound' or 'pounds', meaning the unit of weight. The text "5# bag of flour" would mean "five-pound bag of flour". This is rare outside North America.
Mathematics
- In set theory, #S is one possible notation for the cardinality or size of the set S, instead of . That is, for a set , in which all are mutually distinct, This notation is only sometimes used for finite sets, usually in number theory, to avoid confusion with the divisibility symbol, e.g. .
- In topology, A#B is the connected sum of manifolds A and B, or of knots A and B in knot theory.
- In number theory, n# is the primorial of n.
- In constructive mathematics, # denotes an apartness relation.
- In computational complexity theory, #P denotes a complexity class of counting problems. The standard notation for this class uses the number sign symbol, not the sharp sign from music, but it is pronounced "sharp P". More generally, the number sign may be used to denote the class of counting problems associated with any class of search problems.
Computing
- In Unicode and ASCII, the symbol has a code point as and entity code
#in HTML5. - In many scripting languages and data file formats, especially ones that originated on Unix,
#introduces a comment that goes to the end of the line. The combination#!at the start of an executable file is a shebang, hash-bang or pound-bang, used to tell the operating system which program to use to run the script (see magic number). This combination was chosen so it would be a comment in the scripting languages. - In the C preprocessor (used by C and many other languages),
#at the start of a line starts a preprocessor directive. Inside macros (after#define) it is used for various purposes; for example##is used for token concatenation. - In Unix shells,
#is placed by convention at the end of a command prompt to denote that the user is working as root. -
#is used in a URL of a web page or other resource to introduce a 'fragment identifier' an id which defines a position within that resource. In HTML, this is known as an anchor link. For example, in the URLhttps://en.wikipedia.org/wiki/Number_sign#Computingthe portion after the#(Computing) is the fragment identifier, in this case denoting that the display should be moved to show the tag marked byin the HTML. - Internet Relay Chat: on (IRC) servers,
#precedes the name of every channel that is available across an entire IRC network. - In lightweight markup languages, such as wikitext,
#is often used to introduce numbered list items. - In the Perl programming language,
#is used as a modifier to array syntax to return the index number of the last element in the array, e.g., an array's last element is at$array<a href="$#array">$#array</a>. The number of elements in the array is$#array + 1, since Perl arrays default to using zero-based indices. If the array has not been defined, the return is also undefined. If the array is defined but has not had any elements assigned to it, e.g.,, then$#arrayreturns−1. See the section on Array functions in the Perl language structure article. -
#is used in the Modula-2 and Oberon programming languages designed by Niklaus Wirth and in the Component Pascal language derived from Oberon to denote the not equal symbol, as a stand-in for the mathematical unequal sign , being more intuitive than<>or. For example: - In Rust,
#is used for attributes such as in#<a href="test">test</a>. - In OCaml,
#is the operator used to call a method. - In Common Lisp,
#is a dispatching read macro character used to extend the S-expression syntax with short cuts and support for various data types (complex numbers, vectors and more). - In Scheme,
#is the prefix for certain syntax with special meaning. - In Standard ML,
#, when prefixed to a field name, becomes a projection function (function to access the field of a record or tuple); also,#prefixes a string literal to turn it into a character literal. - In Mathematica syntax,
#, when used as a variable, becomes a pure function (a placeholder that is mapped to any variable meeting the conditions). - In LaTeX,
#, when prefixing a number, references an arguments for a user defined command. For instance\newcommand{\code}[1]{\texttt{#1}}. - In Javadoc,
#is used with the@seetag to introduce or separate a field, constructor, or method member from its containing class. - In Redcode and some other dialects of assembly language,
#is used to denote immediate mode addressing, e.g.,LDA #10, which means "load accumulator A with the value 10" in MOS 6502 assembly language. - in HTML, CSS, SVG, and other computing applications
#is used to identify a color specified in hexadecimal format, e.g.,#FFAA00. This usage comes from X11 color specifications, which inherited it from early assembler dialects that used#to prefix hexadecimal constants, e.g.: ZX Spectrum Z80 assembly. - In Be-Music Script, every command line starts with
#. Lines starting with characters other than#are treated as comments. - The use of the hash symbol in a hashtag is a phenomenon conceived by Chris Messina, and popularized by social media network Twitter, as a way to direct conversations and topics amongst users. This has led to an increasingly common tendency to refer to the symbol itself as hashtag.
- In programming languages like PL/1 and Assembler used on IBM mainframe systems, as well as JCL (Job Control Language), the
#(along with$and@) are used as additional letters in identifiers, labels and data set names. - In J,
#is the Tally or Count function, and similarly in Lua,#can be used as a shortcut to get the length of a table, or get the length of a string. Due to the ease of writing#over longer function names, this practice has become standard in the Lua community. - In Dyalog APL,
#is a reference to the root namespace while##is a reference to the current space's parent namespace. - In Ada, the
#character is used in based integer literals, which take the formbase#digits#, wherebaseis an integer from 2 to 16 specifying the radix, anddigitsare the digits valid in that base (0-9, optionally A-F for bases above 10).
Other uses
- Algebraic notation for chess: A hash after a move denotes checkmate.
- American Sign Language transcription: The hash prefixing an all-caps word identifies a lexicalized fingerspelled sign, having some sort of blends or letter drops. All-caps words without the prefix are used for standard English words that are fingerspelled in their entirety.
- Copy writing and copy editing: Technical writers in press releases often use three number signs, directly above the boilerplate or underneath the body copy, indicating to media that there is no further copy to come.
- Footnote symbols (or endnote symbols): Due to its ready availability in many computer fonts and directly on computer keyboards,
#and other symbols (such as the caret (^)) have in recent years begun to be occasionally used in catalogues and reports in place of more traditional symbols (esp. dagger, double-dagger, pilcrow). - Linguistic phonology: denotes a word boundary. For instance,
/d/ → <a href="t">t</a> / _#means that becomes when it is the last segment in a word (i.e. when it appears before a word boundary). - Linguistic syntax: A hash before an example sentence denotes that the sentence is semantically ill-formed, though grammatically well-formed. For instance, "#The toothbrush is pregnant" is a grammatically correct sentence, but the meaning is odd.
- Medical prescription drug delimiter: In some countries, such as Norway or Poland, is used as a delimiter between different drugs on medical prescriptions.
- Medical shorthand: The hash is often used to indicate a bone fracture. For example,
#NOFis often used for "fractured neck of femur". In radiotherapy, a full dose of radiation is divided into smaller doses or 'fractions'. These are given the shorthand to denote either the number of treatments in a prescription (e.g.60Gy in 30#), or the fraction number (#9 of 25). - As a proofreading mark, to indicate that a space should be inserted.
- Publishing: When submitting a science fiction manuscript for publication, a number sign on a line by itself (indented or centered) indicates a section break in the text.
- Scrabble: Putting a number sign after a word indicates that the word is found in the British word lists, but not the North American lists.
- Teletext and DVB subtitles (in the UK and Ireland): The hash symbol, resembling music notation's sharp sign, is used to mark text that is either sung by a character or heard in background music, e.g.
# For he's a jolly good fellow #
Unicode
The number sign was assigned code 35 (hex 0x23) in ASCII where it was inherited by many character sets. In EBCDIC it is often at 0x7B or 0xEC.
Unicode characters with 'number sign' in their names:
- (Other attested names in Unicode are: .)
Additionally, a Unicode named sequence is defined for the grapheme cluster
U+0023+FE0F+20E3 (#️⃣).On keyboards
On the standard US keyboard layout, the symbol is . On standard UK and some other European keyboards, the same keystrokes produce the pound (sterling) sign, symbol, and may be moved to a separate key above the right shift key.
See also
- ("looped square")
- , the Chinese character for a well ()
- the game tic-tac-toe, which uses a similar grid pattern
Explanatory notes
References
- dead, April 3, 2018, number sign, Oxford English Dictionary
- dead, December 31, 2017, hash, Oxford English Dictionary
- dead, April 3, 2018, pound sign, Oxford English Dictionary, 5 May 2016
- Houston, Keith, Shady Characters: The Secret Life of Punctuation, Symbols, and Other Typographical Marks, W. W. Norton & Company, 2013, 41–57, The Octothorpe
- Piercy, Joseph, Symbols: A Universal Language, Part III: Symbnols of value, ownership and exchange, 4 October 2014, 25 October 2013, Michael OMara, 84–85
- Why is the symbol # called the hashtag in Twitter?, The Britannica Dictionary, 2022-09-23, 2022-09-23, live
- The Italian , libbra, (from the old Latin word , libra, , 'balance') represented a weight almost exactly equal to the , avoirdupois, pound of England. The Italian abbreviation of , lb, with a line drawn across the letters was used for both weights. The business clerk’s hurried way of writing the abbreviation appears to have been responsible for the # sign used for 'pound.', Keith Gordon Irwin, The romance of writing, from Egyptian hieroglyphics to modern letters, numbers, and signs, New York, Viking Press, 1967, 1956
- The Elements of Abbreviation in Medieval Latin Paleography, 18, , 20, Adriano, Cappelli, David Heimann, Richard Kay, University of Kansas, Archive.org
- Houston, Keith, The Ancient Roots of Punctuation, 16 October 2013, The New Yorker, 2013-09-06, 2014-06-25, live
- Moxon, Joseph, Mechanick Exercises, 1683, 2, 262
- Luckombe, Philip, A concise history of the origin and progress of printing, 1770, London, 443
- Webster, Noah, An American dictionary of the English language, Goodrich, Chauncey A., 1847, 1384
- von Clausberg, Christlieb, Demonstrative Rechenkunst, 1795, Leipzig, xxxii, de
- Schiebe, August, Die Kaufmännische Correspondenz, 1848, Grimma, 39, de
- Noback, Friedrich Eduard, Münz-, Maass- und Gewichtsbuch, Brockhaus, 1877, 507, de
- Rechnung über Einnahmen und Ausgaben für Hans Fugger, Herrn zu Kirchperg und Weissenhorn, vom März 1562, BSB Cgm 5081(1, March 1562, 2v
- Crittenden, S. W., An Elementary Treatise on Book-keeping by Single and Double Entry, 1853, E., C., & J. Biddle, Philadelphia, 7 February 2023
- Duff, C. P., Duff, W. H., Duff, R. P., Book-Keeping By Single and Double Entry, 1880, Harper and Brothers, 24 November 2015, #—Preceding a figure (thus, # 10) means number.
#—After a figure (thus, 10 #) means pound. - Flügel, Johann Gottfried, Praktische Anleitung zur englischen Handels-Correspondenz, Friedrich Noback, 1873, 9, Dresden
- Rohmeder, A. F., Die Abkürzung der Wörter, Kellerer, 1892, München, 58-59, de
- Method of Operating and Instructions for Practice on the Blickensderfer Typewriter, K. M. Turner, 1896, Atlanta, GA, It is best to use the 'number mark' for plus; the hyphen for minus, and two hyphens for the sign =, Oct 14, 2021
- Proceedings of the Sixteenth Annual Convention of the Kansas Bankers' Association, Rusell, 1903, Kansas City, Recently there were sent by mail to the Kansas banks engraved reproductions of a draft issued by an Ohio bank on its New York correspondent for ten dollars which had been raised to ten thousand dollars and successfully negotiated in Buffalo, New York. It was sent out as a means of advertising a check protecting machine but it will serve us for illustration. I presume many of you, and perhaps all of you, have seen it. The number sign used immediately following the word ten in the body of the draft and part of the line drawn along the unoccupied space from it to the word dollars in the right hand margin had been removed with acid and the word thousand written in. The number sign following the memorandum figures $10 in the end margin had likewise been removed and three ciphers added. The number sign had then been added after both the added word and the added ciphers, so that the draft in its altered form read Ten Thousand#———— Dollars in words in the body and $10000# in figures in the margin with the only significant peculiarity in the make-up of the draft, the number sign following both the written words in the body and the memorandum figures in the margin, relatively in the same position as in the draft as originally issued.
- Boyd's syllabic shorthand text book, second, 1903, Robert, Boyd, Chicago, Chicago Correspondence Schools, "Make the (#) pound or number sign thus: 37⁺ = 37 lbs. ⁺37 = No. 37."
- Business Arithmetic for Secondary Schools, Ernest L., Thurston, New York, Macmillan, 1917, APPENDIX I. SIGNS AND SYMBOLS. , ..., #. . . . . . .number (written before a figure). , ..., #. . . . . . .pounds (written after a figure).
- Nancy M., Lawrence, F. Ethel McAfee, Mildred M. Butler, Correlated studies in stenography, Gregg, 1932, Number or Pound Sign (#) 1. Before figure for , number, . #16. 2. After figure for , pound, .
- Remington Standard typewriter, New York, Wyckoff, Seamans & Benedict, 1886
- #OriginStory, Carnegie Mellon University, August 29, 2014, August 23, 2019, June 1, 2019, live
- Parker, Ashley, June 10, 2011, Twitter's Secret Handshake, The New York Times, live, limited, July 26, 2011, Jun 17, 2011
- Warren, Christina, Facebook finally gets #hashtags, CNN, live, July 16, 2006, Jun 13, 2013
- Barber, Katherine, The Canadian Oxford dictionary, 2004, Oxford University Press, Toronto, 2nd
- Norstar Voice Mail 4.1 , , Software Add-on Guide, Nortel, 2015-12-11, 2015-12-22, live
- On Language; Hit the Pound Sign, William Safire, The New York Times, May 21, 2011, March 24, 1991, William Safire, July 21, 2010, live
- How the # became the sign of our times, The Guardian, 30 December 2014, 31 December 2014, live
- Writing Tips: How to Use the Hash Sign (#), GetProofed, 6 February 2020, In Australia, however, it was better known as the 'hash' sign and only used to mean 'number'., 9 January 2023, 9 January 2023, live
- Hash sign, Oxford English Dictionary, 14 October 2013, 16 November 2018, live
- HASH MARK Definition & Meaning, Dictionary.com, 2025-12-26
- Dearle, Fergal, Groovy for Domain-specific Languages, September 28, 2015, Packt Publishing, Ltd, 27, en
- Using hashtags on Twitter, Twitter, 5 May 2016, 4 May 2016, live
- A Dictionary of Singlish and Singapore English, Jack Tsen-Ta Lee, 14 January 2016, 19 January 2016, live
- Address Formats, 14 January 2016, 8 March 2016, live
- Encore, Pressing Matters: Touch-tone phones spark debate, Hochhester, Sheldon, 2006-09-29, 2006-12-17, 2007-09-26, live
- The Octothorpe, part 2 of 2 – Shady Characters, 22 May 2011
- Douglas A. Kerr, The ASCII Character "Octatherp", 2006-05-07, 2010-08-23, 2010-12-15, live
- Douglas A. Kerr, The names “octatherp” and “octotherp” for the symbol “#”, 2014-10-08
- The Merriam-Webster New Book of Word Histories, 1991, octothorp
- Lenaerts, George Victor, Auzins, Eric Egils, Telephone data set including visual display means, Google Patents, 17 December 2025, en, 18 November 1975
- A tour of the C# language, 5 April 2023, 4 April 2024, learn.microsoft.com, 8 March 2024, live
- ECMA-334 C# language specification, 7th, Ecma International, Introduction, December 2023, 4 April 2024, 16 December 2023, live
- E.161 : Arrangement of digits, letters and symbols on telephones and other devices that can be used for gaining access to a telephone network, International Telecommunication Union, 2 February 2001, 23 December 2019, 2 November 2019, live
- Google Books Ngram Viewer: # 1,No. 1, books.google.com, 30 January 2026, en
- Google Books Ngram Viewer: # 1,No. 1 (American English), books.google.com, 30 January 2026, en
- Google Books Ngram Viewer: # 1,No. 1 (British English), books.google.com, 30 January 2026, en
- Google Books Ngram Viewer:# 1,№ 1,number 1, books.google.com, 30 January 2026, en
- Number Sign/Hashtag - Punctuation , , Ultius, 2025-06-05, www.ultius.com
- Language Log » The "pound sign" mystery, 2025-06-05
- CSS Syntax and Selectors, W3Schools, 2019-07-15, 2019-07-12, live
- Introduction to HTML, 16 September 2014, 16 August 2008, live
- Lispworks.com, 16 September 2014, 10 October 2014, live
- Oracle.com, 16 September 2014, 28 October 2011, live
- HISOFT DEVPAC ZX Spectrum Programmer's Manual, worldofspectrum.org, 2017-10-03, 2018-11-12, live
- You'll Never Guess the Real Name for a Hashtag, Nicks, Denver, June 13, 2014, TIME, May 5, 2016, May 11, 2016, live
- Vocabulary/number, November 20, 2019, J NuVoc, February 14, 2020, live
- Vicars, Bill, Lexicalization, ASL University, 6 September 2015, 10 September 2015, live
- ###: What does ### mean at the end of a press release?, The Halo Group, Lara, Cohn, 18 November 2021, 17 November 2021, live
- Carnie, Andrew, 2006, Syntax: A Generative Introduction, Oxford, Wiley-Blackwell, 2nd, registration
- R. L., Trask, Larry Trask, A Dictionary of Grammatical Terms in Linguistics, London, Routledge, 1993
- Glossary of Medical Devices and Procedures: Abbreviations, Acronyms, and Definitions, 2008-05-16, 2008-06-25, live
- Proofreaders' Marks, 2020-09-03, 2010-08-16, dead
- Manuscript Preparation, McIntyre, Vonda, October 2008, sfwa.org, Science Fiction & Fantasy Writers of America, 28 May 2020, 3 October 2020, live
- Scrabble Glossary, Tucson Scrabble Club, 2012-02-06, 2011-08-30, dead
- Unicode Consortium, C0 Controls and Basic Latin
- Unicode Named Character Sequences, Unicode Character Database, Unicode Consortium, Unicode Consortium, 2020-07-16, 2020-07-11, live
Category:Latin-script ligatures
Category:Typographical symbols